<!DOCTYPE html>
<html>
<head>
    <title>{$page.post_title}</title>
    <meta name="keywords" content="{$page.post_keywords}"/>
    <meta name="description" content="{$page.post_excerpt}">
    <include file="public@head"/>
    <style>
        #article_content img {
            height: auto !important;
            max-width: 100%;
        }
    </style>
    <script src="//api.map.baidu.com/api?v=1.3"></script>
    <hook name="before_head_end"/>
</head>
<body class="body-white">
<include file="public@nav"/>
<!--banner start-->
<div class="ui fluid container">
    <img src="__TMPL__/static/images/hzhb_banner.jpg" style="width:100%;" alt="">
</div>
<!--banner end-->

<!--软件方案 start-->
<div class="ui fluid container" style="background: #FFFFFF;">
    <include file="public@nav_contact"/>

    <div class="ui two column grid container" style="padding: 5rem 0;">
        <!--联系方式 start-->
        <div class="column">
            <div class="h-title">山东好食好客信息科技股份有限公司</div>
            <div class="contact" style="color:#333">
                销售专线：0531-55567777、55567878<br>
                QQ：613667577<br>
                售后客服专线：0531-55567707<br>
                QQ：613667529<br>
                QQ：293411775<br>
                门锁调试客服QQ：613667538<br>
                餐饮连锁客服：0531-55567707<br>
                快餐连锁客服：0531-55568855<br>
                QQ：613667537<br>
                公司地址：山东省济南市高新区颖秀路鑫盛大厦2号楼10层<br>
            </div>
        </div>
        <!--联系方式 end-->
        <!--二维码 start-->
        <div class="column">
            <img src="__TMPL__/static/images/qrcode.jpg" alt="" style="width: 50%">
        </div>
        <!--二维码 end-->
    </div>

    <div id="mapCanvas" class="ui container map-canvas no-margin" style="height: 450px;">
        <php>
            $map_location=empty($theme_vars['company_location'])?'117.141431,36.684212':$theme_vars['company_location'];
            $map_location=explode(',',$map_location);
            $map_location_lng=$map_location[0];
            $map_location_lat=$map_location[1];
            print_r($theme_vars);
        </php>
        <script type="text/javascript">
          var map   = new BMap.Map("mapCanvas"); // 创建Map实例
          var point = new BMap.Point("{$map_location_lng}", "{$map_location_lat}"); // 创建点坐标
          map.centerAndZoom(point, 15); // 初始化地图,设置中心点坐标和地图级别。
          //map.enableScrollWheelZoom(); //启用滚轮放大缩小
          //添加缩放控件
          map.addControl(new BMap.NavigationControl());
          map.addControl(new BMap.ScaleControl());
          map.addControl(new BMap.OverviewMapControl());

          var marker = new BMap.Marker(point); // 创建标注
          map.addOverlay(marker); // 将标注添加到地图中
          var infoWindow = new BMap.InfoWindow("{$theme_vars.baidu_map_info_window_text|htmlspecialchars_decode|default=''}"); // 创建信息窗口对象
          marker.openInfoWindow(infoWindow);
        </script>
    </div>
</div>
<!--软件方案 end-->

    <include file="public@footer"/>
</div>

<include file="public@scripts"/>
<hook name="before_body_end"/>
</body>
</html>